home *** CD-ROM | disk | FTP | other *** search
/ Aminet 50 / Aminet 50 (2002)(GTI - Schatztruhe)[!][Aug 2002].iso / Aminet / util / misc / rebootpatch.lha / rebootpatch.doc < prev   
Text File  |  2002-06-23  |  3KB  |  70 lines

  1.                                 REBOOTPATCH V1.0
  2.                                 ----------------
  3.                                  By Ian Chapman
  4.  
  5. What IS rebootpatch?
  6. --------------------
  7.  
  8. Rebootpatch is a very simple patch which opens a requester if a program attempts
  9. to reboot your system, for example the end of a software installation. The
  10. requester lets you choose whether you want to deny the reboot or allow it. The
  11. requester also tries to tell you the name of the Task which is requesting the
  12. reboot. If processes request a reboot then it may just read something like
  13. 'Shell Process' or 'Background CLI' instead. You can of course leave the
  14. requester open until you decide to reboot. The calling program will however be
  15. blocked from further execution until the requeter is answered.
  16.  
  17. What ISN'T rebootpatch?
  18. -----------------------
  19.  
  20. Rebootpatch isn't a snowman, a weapon of mass destruction or a laxative. Infact,
  21. rebootpatch isn't lots of things, but in particular it doesn't prevent HARDWARE
  22. RESETS. For example, resets generated by the keyboard or a reset button. It also
  23. will not prevent your machine from resetting if a program goes bat-shit and
  24. crashes.
  25.  
  26. Installation
  27. ------------
  28.  
  29. Copy rebootpatch wherever you like, but C: is probably an appropriate location.
  30. Rebootpatch currently does not detach itself from the CLI, so the following
  31. should be added to your s:user-startup (or s:startup-sequence if you prefer)
  32.  
  33. run c:rebootpatch <>NIL:
  34.  
  35. Once the patch is running, you can test to see if it works by running the
  36. supplied 'reboot' program. If the patch is installed, a requester will open
  37. which will warn you of the 'reboot request'. If the patch is NOT installed,
  38. then, erm.... your system will reboot :-) You can quit rebootpatch by sending it
  39. a CTRL + C signal or by listing your processes with "status" and using "break"
  40. to send a signal to the rebootpatch process.
  41.  
  42. IMPORTANT
  43. ---------
  44.  
  45. Rebootpatch patches the OS function Coldreboot(). This function is never
  46. expected to return by the calling program, because it's expected that your
  47. system will reboot. If you deny a reboot then the calling program will enter a
  48. state of unknown execution because Coldreboot() WILL return. I haven't found
  49. this to be a problem, everything seems to continue as normal, probably because
  50. most programs don't write extra code after calling Coldreboot() (for obvious
  51. reaons), but the potential is there for the program to misbehave and you should
  52. be aware of this.
  53.  
  54.  
  55. DISCLAIMER
  56. ----------
  57.  
  58. Use or misuse of the program rebootpatch either directly, or indirectly is
  59. entirely at the user's risk, without exception. The user accepts in full all
  60. consequences which arise from it's use, including, but not limited to, damage to
  61. hardware, software, loss of earnings and all legal consequences, both civil and
  62. criminal.
  63.  
  64.  
  65. CONTACT
  66. -------
  67.  
  68. If you want to contact me regarding rebootpatch then send an E-Mail to:
  69. ian.chapman@bleach.demon.co.uk
  70.